package com.ruoyi.develop.goodsOrderIn.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 入库信息管理对象 goods_order_in
 *
 * @author qh
 * @date 2023-01-06
 */
public class GoodsOrderIn extends BaseEntity {
private static final long serialVersionUID=1L;

    /**  */
    private String id;

    /** 商品名称 */
    @Excel(name = "商品名称")
    private String name;

    /** 商品品牌 */
    @Excel(name = "商品品牌")
    private String brand;

    /** 商品型号 */
    @Excel(name = "商品型号")
    private String model;

    /** 商品入库单位 */
    @Excel(name = "商品入库单位")
    private String unit;

    /** 采购单价 */
    @Excel(name = "采购单价")
    private BigDecimal costPrice;

    /** 含税单价 */
    @Excel(name = "含税单价")
    private BigDecimal costPriceTax;

    /** 采购数量 */
    @Excel(name = "采购数量")
    private BigDecimal count;

    /** 剩余数量 */
    @Excel(name = "剩余数量(库存数量)")
    private BigDecimal remainderCount;

    /** 采购总价 */
    @Excel(name = "采购总价")
    private BigDecimal cost;

    /** 含税总价 */
    @Excel(name = "含税总价")
    private BigDecimal costTax;

    /** 有效日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "有效日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date validityTerm;

    /** 采购人 */
    @Excel(name = "采购人")
    private String buyId;

    /** 采购人姓名 */
    @Excel(name = "采购人姓名")
    private String buyName;

    /** 采购日期 */
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    @Excel(name = "采购日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyDate;

    /** 采购方式(公采0/自采1) */
    @Excel(name = "采购方式(公采0/自采1)")
    private String buyType;

    /** 是否报销(0否/1是) */
    @Excel(name = "是否报销(0否/1是)")
    private String reimburse;

    /** 供应商 */
    @Excel(name = "供应商")
    private String supplierId;

    /** 供应商名称 */
    @Excel(name = "供应商名称")
    private String supplierName;

    /** 是否取得发票 */
    @Excel(name = "是否取得发票")
    private String invoice;

    /** 有无含税发票 */
    @Excel(name = "有无含税发票")
    private String invoiceTax;

    /** 发票编号 */
    @Excel(name = "发票编号")
    private String invoiceNo;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    private String imburseId;


    private BigDecimal  goodsUnitPrice;

    private BigDecimal goodsCount;

    private BigDecimal goodsTotalPrice;

    /** 工程名称 */
    private String gongchengName;

    /** 合同物料编码 */
    private String contractGoodsName;

    /** 合同收货人 */
    private String deliveryPerson;

    /** 合同交货日期 */
    private Date deliveryTime;

    /** 项目单位 */
    private String projectDept;

    /** 含税单价 */
    private BigDecimal goodsTaxUnitPrice;
    /** 含税总价 */
    private BigDecimal goodsTaxTotalPrice;

    private String deptId;
    private String deptName;
    private String code;
    private BigDecimal dun;
    private String ismain;
    private String iswork;
    private String issuccess;
    private String email;
    private String customerId;
    private String customerName;
    private BigDecimal shengyu;

    private String rukuno;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd")
    private Date rukudate;
    private String rukuren;
    private String zhijiandan;

    private String type;
    private BigDecimal counts;

    private String goodsType;

    private BigDecimal materiaCount;


    /** 审核状态 */
    private String assessStatus;

    /** 材料主材 */
    private String materialMain;

    /** 材料辅材 */
    private String materialAssist;

    private String otherCode;

    private String ischaijie;

    private Date saleDate;

    /** 查询字符 */
    private String queryLabel;
    private String sysdeptName;

    private BigDecimal shuidianFee;
    private BigDecimal shebeiFee;
    private BigDecimal mojuFee;
    private BigDecimal fuliaoFee;
    private BigDecimal weibaoFee;
    private BigDecimal feiliaoFee;
    private BigDecimal yewuFee;
    private BigDecimal userFee;
    private String feeStatus;


    private BigDecimal money;
    private BigDecimal doMoney;
    private BigDecimal materialMoney;

    public BigDecimal getMoney() {
        return money;
    }

    public void setMoney(BigDecimal money) {
        this.money = money;
    }

    public BigDecimal getDoMoney() {
        return doMoney;
    }

    public void setDoMoney(BigDecimal doMoney) {
        this.doMoney = doMoney;
    }

    public BigDecimal getMaterialMoney() {
        return materialMoney;
    }

    public void setMaterialMoney(BigDecimal materialMoney) {
        this.materialMoney = materialMoney;
	}

    private String innerGoodsId;

    public String getInnerGoodsId() {
        return innerGoodsId;
    }

    public void setInnerGoodsId(String innerGoodsId) {
        this.innerGoodsId = innerGoodsId;

    }

    public BigDecimal getShuidianFee() {
        return shuidianFee;
    }

    public void setShuidianFee(BigDecimal shuidianFee) {
        this.shuidianFee = shuidianFee;
    }

    public String getFeeStatus() {
        return feeStatus;
    }

    public void setFeeStatus(String feeStatus) {
        this.feeStatus = feeStatus;
    }

    public BigDecimal getShebeiFee() {
        return shebeiFee;
    }

    public void setShebeiFee(BigDecimal shebeiFee) {
        this.shebeiFee = shebeiFee;
    }

    public BigDecimal getMojuFee() {
        return mojuFee;
    }

    public void setMojuFee(BigDecimal mojuFee) {
        this.mojuFee = mojuFee;
    }

    public BigDecimal getFuliaoFee() {
        return fuliaoFee;
    }

    public void setFuliaoFee(BigDecimal fuliaoFee) {
        this.fuliaoFee = fuliaoFee;
    }

    public BigDecimal getWeibaoFee() {
        return weibaoFee;
    }

    public void setWeibaoFee(BigDecimal weibaoFee) {
        this.weibaoFee = weibaoFee;
    }

    public BigDecimal getFeiliaoFee() {
        return feiliaoFee;
    }

    public void setFeiliaoFee(BigDecimal feiliaoFee) {
        this.feiliaoFee = feiliaoFee;
    }

    public BigDecimal getYewuFee() {
        return yewuFee;
    }

    public void setYewuFee(BigDecimal yewuFee) {
        this.yewuFee = yewuFee;
    }

    public BigDecimal getUserFee() {
        return userFee;
    }

    public void setUserFee(BigDecimal userFee) {
        this.userFee = userFee;
    }

    public String getSysdeptName() {
        return sysdeptName;
    }

    public void setSysdeptName(String sysdeptName) {
        this.sysdeptName = sysdeptName;
    }

    public Date getSaleDate() {
        return saleDate;
    }

    public String getQueryLabel() {
        return queryLabel;
    }

    public void setQueryLabel(String queryLabel) {
        this.queryLabel = queryLabel;
    }

    public void setSaleDate(Date saleDate) {
        this.saleDate = saleDate;
    }

    public String getIschaijie() {
        return ischaijie;
    }

    public void setIschaijie(String ischaijie) {
        this.ischaijie = ischaijie;
    }

    public String getOtherCode() {
        return otherCode;
    }

    public void setOtherCode(String otherCode) {
        this.otherCode = otherCode;
    }

    public String getMaterialMain() {
        return materialMain;
    }

    public void setMaterialMain(String materialMain) {
        this.materialMain = materialMain;
    }

    public String getMaterialAssist() {
        return materialAssist;
    }

    public void setMaterialAssist(String materialAssist) {
        this.materialAssist = materialAssist;
    }

    public String getAssessStatus() {
        return assessStatus;
    }

    public void setAssessStatus(String assessStatus) {
        this.assessStatus = assessStatus;
    }

    public BigDecimal getMateriaCount() {
        return materiaCount;
    }

    public void setMateriaCount(BigDecimal materiaCount) {
        this.materiaCount = materiaCount;
    }

    public String getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(String goodsType) {
        this.goodsType = goodsType;
    }

    public BigDecimal getCounts() {
        return counts;
    }

    public void setCounts(BigDecimal counts) {
        this.counts = counts;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getZhijiandan() {
        return zhijiandan;
    }

    public void setZhijiandan(String zhijiandan) {
        this.zhijiandan = zhijiandan;
    }

    public String getRukuno() {
        return rukuno;
    }

    public void setRukuno(String rukuno) {
        this.rukuno = rukuno;
    }

    public Date getRukudate() {
        return rukudate;
    }

    public void setRukudate(Date rukudate) {
        this.rukudate = rukudate;
    }

    public String getRukuren() {
        return rukuren;
    }

    public void setRukuren(String rukuren) {
        this.rukuren = rukuren;
    }

    public BigDecimal getShengyu() {
        return shengyu;
    }

    public void setShengyu(BigDecimal shengyu) {
        this.shengyu = shengyu;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getCustomerName() {
        return customerName;
    }

    public void setCustomerName(String customerName) {
        this.customerName = customerName;
    }

    public String getEmail() {
        return email;
    }

    public String getProjectDept() {
        return projectDept;
    }

    public void setProjectDept(String projectDept) {
        this.projectDept = projectDept;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getIsmain() {
        return ismain;
    }

    public void setIsmain(String ismain) {
        this.ismain = ismain;
    }

    public String getIswork() {
        return iswork;
    }

    public void setIswork(String iswork) {
        this.iswork = iswork;
    }

    public String getIssuccess() {
        return issuccess;
    }

    public void setIssuccess(String issuccess) {
        this.issuccess = issuccess;
    }

    public String getDeliveryPerson() {
        return deliveryPerson;
    }

    public void setDeliveryPerson(String deliveryPerson) {
        this.deliveryPerson = deliveryPerson;
    }

    public String getContractGoodsName() {
        return contractGoodsName;
    }

    public void setContractGoodsName(String contractGoodsName) {
        this.contractGoodsName = contractGoodsName;
    }

    public BigDecimal getDun() {
        return dun;
    }

    public Date getDeliveryTime() {
        return deliveryTime;
    }

    public void setDeliveryTime(Date deliveryTime) {
        this.deliveryTime = deliveryTime;
    }

    public void setDun(BigDecimal dun) {
        this.dun = dun;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getDeptId() {
        return deptId;
    }

    public void setDeptId(String deptId) {
        this.deptId = deptId;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public BigDecimal getGoodsUnitPrice() {
        return goodsUnitPrice;
    }

    public void setGoodsUnitPrice(BigDecimal goodsUnitPrice) {
        this.goodsUnitPrice = goodsUnitPrice;
    }

    public BigDecimal getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(BigDecimal goodsCount) {
        this.goodsCount = goodsCount;
    }

    public BigDecimal getGoodsTotalPrice() {
        return goodsTotalPrice;
    }

    public void setGoodsTotalPrice(BigDecimal goodsTotalPrice) {
        this.goodsTotalPrice = goodsTotalPrice;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public void setId(String id)
            {
            this.id = id;
            }

    public String getId()
            {
            return id;
            }
    public void setName(String name)
            {
            this.name = name;
            }

    public String getName()
            {
            return name;
            }
    public void setBrand(String brand)
            {
            this.brand = brand;
            }

    public String getBrand()
            {
            return brand;
            }
    public void setUnit(String unit)
            {
            this.unit = unit;
            }

    public String getUnit()
            {
            return unit;
            }
    public void setCostPrice(BigDecimal costPrice)
            {
            this.costPrice = costPrice;
            }

    public BigDecimal getCostPrice()
            {
            return costPrice;
            }
    public void setCount(BigDecimal count)
            {
            this.count = count;
            }

    public BigDecimal getCount()
            {
            return count;
            }
    public void setCost(BigDecimal cost)
            {
            this.cost = cost;
            }

    public String getGongchengName() {
        return gongchengName;
    }

    public void setGongchengName(String gongchengName) {
        this.gongchengName = gongchengName;
    }

    public BigDecimal getGoodsTaxUnitPrice() {
        return goodsTaxUnitPrice;
    }

    public void setGoodsTaxUnitPrice(BigDecimal goodsTaxUnitPrice) {
        this.goodsTaxUnitPrice = goodsTaxUnitPrice;
    }

    public BigDecimal getGoodsTaxTotalPrice() {
        return goodsTaxTotalPrice;
    }

    public void setGoodsTaxTotalPrice(BigDecimal goodsTaxTotalPrice) {
        this.goodsTaxTotalPrice = goodsTaxTotalPrice;
    }

    public BigDecimal getCost()
            {
            return cost;
            }
    public void setValidityTerm(Date validityTerm)
            {
            this.validityTerm = validityTerm;
            }

    public Date getValidityTerm()
            {
            return validityTerm;
            }
    public void setBuyId(String buyId)
            {
            this.buyId = buyId;
            }

    public String getBuyId()
            {
            return buyId;
            }
    public void setBuyName(String buyName)
            {
            this.buyName = buyName;
            }

    public String getBuyName()
            {
            return buyName;
            }
    public void setBuyDate(Date buyDate)
            {
            this.buyDate = buyDate;
            }

    public Date getBuyDate()
            {
            return buyDate;
            }
    public void setBuyType(String buyType)
            {
            this.buyType = buyType;
            }

    public String getBuyType()
            {
            return buyType;
            }
    public void setReimburse(String reimburse)
            {
            this.reimburse = reimburse;
            }

    public String getReimburse()
            {
            return reimburse;
            }
    public void setSupplierId(String supplierId)
            {
            this.supplierId = supplierId;
            }

    public String getSupplierId()
            {
            return supplierId;
            }
    public void setSupplierName(String supplierName)
            {
            this.supplierName = supplierName;
            }

    public String getSupplierName()
            {
            return supplierName;
            }
    public void setInvoice(String invoice)
            {
            this.invoice = invoice;
            }

    public String getInvoice()
            {
            return invoice;
            }
    public void setInvoiceNo(String invoiceNo)
            {
            this.invoiceNo = invoiceNo;
            }

    public String getInvoiceNo()
            {
            return invoiceNo;
            }
    public void setDelFlag(String delFlag)
            {
            this.delFlag = delFlag;
            }

    public String getDelFlag()
            {
            return delFlag;
            }

    public BigDecimal getRemainderCount() {
        return remainderCount;
    }

    public void setRemainderCount(BigDecimal remainderCount) {
        this.remainderCount = remainderCount;
    }

    public BigDecimal getCostTax() {
        return costTax;
    }

    public void setCostTax(BigDecimal costTax) {
        this.costTax = costTax;
    }

    public String getInvoiceTax() {
        return invoiceTax;
    }

    public void setInvoiceTax(String invoiceTax) {
        this.invoiceTax = invoiceTax;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public BigDecimal getCostPriceTax() {
        return costPriceTax;
    }

    public void setCostPriceTax(BigDecimal costPriceTax) {
        this.costPriceTax = costPriceTax;
    }

    public String getImburseId() {
        return imburseId;
    }

    public void setImburseId(String imburseId) {
        this.imburseId = imburseId;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id",getId())
            .append("name",getName())
            .append("brand",getBrand())
            .append("unit",getUnit())
            .append("costPrice",getCostPrice())
            .append("count",getCount())
            .append("cost",getCost())
            .append("validityTerm",getValidityTerm())
            .append("buyId",getBuyId())
            .append("buyName",getBuyName())
            .append("buyDate",getBuyDate())
            .append("buyType",getBuyType())
            .append("reimburse",getReimburse())
            .append("supplierId",getSupplierId())
            .append("supplierName",getSupplierName())
            .append("invoice",getInvoice())
            .append("invoiceNo",getInvoiceNo())
            .append("delFlag",getDelFlag())
            .append("createBy",getCreateBy())
            .append("createTime",getCreateTime())
            .append("updateBy",getUpdateBy())
            .append("updateTime",getUpdateTime())
            .append("remark",getRemark())
        .toString();
    }
}
